//
//  Button.m
//  2016-06-06界面
//
//  Created by Roach on 16/6/6.
//  Copyright © 2016年 lanou. All rights reserved.
//

#import "Button.h"

@implementation Button

+ (instancetype) buttonWithType:(UIButtonType)buttonType withTitle:(NSString *)text withFrame:(CGRect)frame{
    Button *button = [Button buttonWithType:UIButtonTypeSystem ];
    [button setTitle:text forState:UIControlStateNormal];
//    [button setTitleColor:[UIColor blueColor] forState:UIControlStateNormal];
    [button setTitle:text forState:UIControlStateNormal];
    button.frame = frame;
    return button;
}

@end
